package com.lysj.food.food.service;

import com.lysj.admin.utils.spring.foundation.base.BaseService;
import com.lysj.food.food.domain.WeighFood;
import com.lysj.food.food.repository.WeighFoodRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import javax.annotation.Resource;

/**
 * @author Created by wtl on 2019-04-01 16:04:33
 * @description 称重服务层
 */
@Slf4j
@Service
@Transactional
public class WeighFoodService implements BaseService<WeighFood> {

    @Resource
    private WeighFoodRepository weighFoodRepository;

    @Override
    public WeighFoodRepository getRepository() {
        return weighFoodRepository;
    }
}